package com.usoft.sso.grpc;

import com.usoft.sso.grpc.api.protobuf.IEGUserServiceGrpc;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author wangcanyi
 * @description 产品库GRPC服务
 * @date 2018/3/28
 */
@EnableTransactionManagement
@SpringBootApplication
@MapperScan("com.usoft.sso.dal")
public class SsoGrpcServiceStart {
	public static void main(String[] args) throws Exception {
		try {

			SpringApplication.run(SsoGrpcServiceStart.class);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
